package com.cbank.domain;


public class AdminUser extends BaseEntity{

    public AdminUser(){
        this.status=1;
    }
	   
	 //账号
      private  String userName;
     
	 //密码
      private  String password;
     
	 //唯一登录凭证
      private  String token;
     
	 //管理员类型
      private  Integer type;
     
	 //返回id
      private  Long viewId;
     
	 //真实姓名
      private  String realName;
     
      
     
      public  String  getUserName(){
      		return  this.userName;
      };
      public  void  setUserName(String userName){
      	this.userName=userName;
      }  
     
      public  String  getPassword(){
      		return  this.password;
      };
      public  void  setPassword(String password){
      	this.password=password;
      }  
      public  String  getToken(){
      		return  this.token;
      };
      public  void  setToken(String token){
      	this.token=token;
      }  
     
      public  Integer  getType(){
      		return  this.type;
      };
      public  void  setType(Integer type){
      	this.type=type;
      }  
     
      public  Long  getViewId(){
      		return  this.viewId;
      };
      public  void  setViewId(Long viewId){
      	this.viewId=viewId;
      }  
     
      public  String  getRealName(){
      		return  this.realName;
      };
      public  void  setRealName(String realName){
      	this.realName=realName;
      }

    @Override
    public String toString() {
        return "AdminUser{" +
                "userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", token='" + token + '\'' +
                ", type=" + type +
                ", viewId=" + viewId +
                ", realName='" + realName + '\'' +
                '}';
    }
}
